package com.zr.task.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zr.common.annotation.Excel;
import com.zr.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 采样任务对象 eim_task_sampling
 * 
 * @author zhaojunqi
 * @date 2022-10-21
 */
public class EimTaskSampling extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

    /** 采样人 */
    @Excel(name = "采样人")
    private String idCard;

    /** 采样时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "采样时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date samplingTime;

    /** 采样地址 */
    @Excel(name = "采样地址")
    private String samplingAddress;

    /** 被采样人 */
    @Excel(name = "被采样人")
    private String samplingIdCard;

    /** 采样内容 */
    @Excel(name = "采样内容")
    private String samplingContext;

    /** 采样图片 */
    @Excel(name = "采样图片")
    private String samplingImg;

    /** 父单id */
    @Excel(name = "父单id")
    private String pid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setSamplingTime(Date samplingTime) 
    {
        this.samplingTime = samplingTime;
    }

    public Date getSamplingTime() 
    {
        return samplingTime;
    }
    public void setSamplingAddress(String samplingAddress) 
    {
        this.samplingAddress = samplingAddress;
    }

    public String getSamplingAddress() 
    {
        return samplingAddress;
    }
    public void setSamplingIdCard(String samplingIdCard) 
    {
        this.samplingIdCard = samplingIdCard;
    }

    public String getSamplingIdCard() 
    {
        return samplingIdCard;
    }
    public void setSamplingContext(String samplingContext) 
    {
        this.samplingContext = samplingContext;
    }

    public String getSamplingContext() 
    {
        return samplingContext;
    }

    public String getSamplingImg() {
        return samplingImg;
    }

    public void setSamplingImg(String samplingImg) {
        this.samplingImg = samplingImg;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    @Override
    public String toString() {
        return "EimTaskSampling{" +
                "id=" + id +
                ", idCard='" + idCard + '\'' +
                ", samplingTime=" + samplingTime +
                ", samplingAddress='" + samplingAddress + '\'' +
                ", samplingIdCard='" + samplingIdCard + '\'' +
                ", samplingContext='" + samplingContext + '\'' +
                ", samplingImg='" + samplingImg + '\'' +
                ", pid='" + pid + '\'' +
                '}';
    }
}
